//
//  UILabel+Category.m
//  OralRobot
//
//  Created by 王桂敏 on 16/4/5.
//  Copyright © 2016年 huayingdai. All rights reserved.
//

#import "UILabel+Category.h"

@implementation UILabel (Category)
+ (UILabel *)labelWithTitle:(NSString *)title
                      frame:(CGRect)frame
                       font:(UIFont *)font
                  textColor:(UIColor *)textColor
                    bgColor:(UIColor *)bgColor{
    
    UILabel *label = [[UILabel alloc] initWithFrame:frame];
    label.text = title;
    label.textColor = textColor;
    label.font = font;
    label.numberOfLines = 0;
    label.backgroundColor = bgColor;
    return label;
    
}
@end
